package org.cuit.epoch.seon.combat.states;

import org.cuit.epoch.seon.combat.OrderContext;

// 已发货状态
public class ShippedState implements OrderState {
    @Override
    public void pay(OrderContext context) {
        System.out.println("订单已发货，无需支付。");
    }

    @Override
    public void cancel(OrderContext context) {
        System.out.println("订单已发货，无法取消。");
    }

    @Override
    public void ship(OrderContext context) {
        System.out.println("订单已发货，无法重复发货。");
    }
}
